/**
 * 测试类型
 */
export type EgType = {
  /**测试*/
  eg: string;
};

/**
 * 路由数据类型
 */
export type RouterType = {
  path: string;
  name: string;
  title: string;
  icon?: string;
  redirect?: string;
  component?: any;
  children?: RouterType[];
};

/**
 * 模块数据类型
 */
export type ModuleType = {
  id: string;
  name: string;
  value: string;
  type: string;
  icon: string;
  layout: boolean;
  children: ModuleType[];
  childrenMax?: number;
  attribute: AttributeType[];
};

/**
 * 模块数据类型 属性
 */
export type AttributeType = {
  key: string;
  value: string;
};
